Optimal. Leaf size=447 \[ -\frac {a^3}{2 d (c+d x)^2}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{2 d (c+d x)^2}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{2 d (c+d x)^2}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{2 d (c+d x)^2}-\frac {3 a^2 b f \left (F^{e g+f g x}\right )^n g n \log (F)}{2 d^2 (c+d x)}-\frac {3 a b^2 f \left (F^{e g+f g x}\right )^{2 n} g n \log (F)}{d^2 (c+d x)}-\frac {3 b^3 f \left (F^{e g+f g x}\right )^{3 n} g n \log (F)}{2 d^2 (c+d x)}+\frac {3 a^2 b f^2 F^{\left (e-\frac {c f}{d}\right ) g n-g n (e+f x)} \left (F^{e g+f g x}\right )^n g^2 n^2 \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right ) \log ^2(F)}{2 d^3}+\frac {6 a b^2 f^2 F^{2 \left (e-\frac {c f}{d}\right ) g n-2 g n (e+f x)} \left (F^{e g+f g x}\right )^{2 n} g^2 n^2 \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right ) \log ^2(F)}{d^3}+\frac {9 b^3 f^2 F^{3 \left (e-\frac {c f}{d}\right ) g n-3 g n (e+f x)} \left (F^{e g+f g x}\right )^{3 n} g^2 n^2 \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right ) \log ^2(F)}{2 d^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.49, antiderivative size = 447, normalized size of antiderivative = 1.00, number of steps
used = 14, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {2214, 2208,
2213, 2209} \begin {gather*} -\frac {a^3}{2 d (c+d x)^2}+\frac {3 a^2 b f^2 g^2 n^2 \log ^2(F) \left (F^{e g+f g x}\right )^n F^{g n \left (e-\frac {c f}{d}\right )-g n (e+f x)} \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right )}{2 d^3}-\frac {3 a^2 b f g n \log (F) \left (F^{e g+f g x}\right )^n}{2 d^2 (c+d x)}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{2 d (c+d x)^2}+\frac {6 a b^2 f^2 g^2 n^2 \log ^2(F) \left (F^{e g+f g x}\right )^{2 n} F^{2 g n \left (e-\frac {c f}{d}\right )-2 g n (e+f x)} \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right )}{d^3}-\frac {3 a b^2 f g n \log (F) \left (F^{e g+f g x}\right )^{2 n}}{d^2 (c+d x)}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{2 d (c+d x)^2}+\frac {9 b^3 f^2 g^2 n^2 \log ^2(F) \left (F^{e g+f g x}\right )^{3 n} F^{3 g n \left (e-\frac {c f}{d}\right )-3 g n (e+f x)} \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right )}{2 d^3}-\frac {3 b^3 f g n \log (F) \left (F^{e g+f g x}\right )^{3 n}}{2 d^2 (c+d x)}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{2 d (c+d x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2208
Rule 2209
Rule 2213
Rule 2214
Rubi steps
\begin {align*} \int \frac {\left (a+b \left (F^{g (e+f x)}\right )^n\right )^3}{(c+d x)^3} \, dx &=\int \left (\frac {a^3}{(c+d x)^3}+\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{(c+d x)^3}+\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{(c+d x)^3}+\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{(c+d x)^3}\right ) \, dx\\ &=-\frac {a^3}{2 d (c+d x)^2}+\left (3 a^2 b\right ) \int \frac {\left (F^{e g+f g x}\right )^n}{(c+d x)^3} \, dx+\left (3 a b^2\right ) \int \frac {\left (F^{e g+f g x}\right )^{2 n}}{(c+d x)^3} \, dx+b^3 \int \frac {\left (F^{e g+f g x}\right )^{3 n}}{(c+d x)^3} \, dx\\ &=-\frac {a^3}{2 d (c+d x)^2}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{2 d (c+d x)^2}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{2 d (c+d x)^2}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{2 d (c+d x)^2}+\frac {\left (3 a^2 b f g n \log (F)\right ) \int \frac {\left (F^{e g+f g x}\right )^n}{(c+d x)^2} \, dx}{2 d}+\frac {\left (3 a b^2 f g n \log (F)\right ) \int \frac {\left (F^{e g+f g x}\right )^{2 n}}{(c+d x)^2} \, dx}{d}+\frac {\left (3 b^3 f g n \log (F)\right ) \int \frac {\left (F^{e g+f g x}\right )^{3 n}}{(c+d x)^2} \, dx}{2 d}\\ &=-\frac {a^3}{2 d (c+d x)^2}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{2 d (c+d x)^2}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{2 d (c+d x)^2}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{2 d (c+d x)^2}-\frac {3 a^2 b f \left (F^{e g+f g x}\right )^n g n \log (F)}{2 d^2 (c+d x)}-\frac {3 a b^2 f \left (F^{e g+f g x}\right )^{2 n} g n \log (F)}{d^2 (c+d x)}-\frac {3 b^3 f \left (F^{e g+f g x}\right )^{3 n} g n \log (F)}{2 d^2 (c+d x)}+\frac {\left (3 a^2 b f^2 g^2 n^2 \log ^2(F)\right ) \int \frac {\left (F^{e g+f g x}\right )^n}{c+d x} \, dx}{2 d^2}+\frac {\left (6 a b^2 f^2 g^2 n^2 \log ^2(F)\right ) \int \frac {\left (F^{e g+f g x}\right )^{2 n}}{c+d x} \, dx}{d^2}+\frac {\left (9 b^3 f^2 g^2 n^2 \log ^2(F)\right ) \int \frac {\left (F^{e g+f g x}\right )^{3 n}}{c+d x} \, dx}{2 d^2}\\ &=-\frac {a^3}{2 d (c+d x)^2}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{2 d (c+d x)^2}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{2 d (c+d x)^2}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{2 d (c+d x)^2}-\frac {3 a^2 b f \left (F^{e g+f g x}\right )^n g n \log (F)}{2 d^2 (c+d x)}-\frac {3 a b^2 f \left (F^{e g+f g x}\right )^{2 n} g n \log (F)}{d^2 (c+d x)}-\frac {3 b^3 f \left (F^{e g+f g x}\right )^{3 n} g n \log (F)}{2 d^2 (c+d x)}+\frac {\left (3 a^2 b f^2 F^{-n (e g+f g x)} \left (F^{e g+f g x}\right )^n g^2 n^2 \log ^2(F)\right ) \int \frac {F^{n (e g+f g x)}}{c+d x} \, dx}{2 d^2}+\frac {\left (6 a b^2 f^2 F^{-2 n (e g+f g x)} \left (F^{e g+f g x}\right )^{2 n} g^2 n^2 \log ^2(F)\right ) \int \frac {F^{2 n (e g+f g x)}}{c+d x} \, dx}{d^2}+\frac {\left (9 b^3 f^2 F^{-3 n (e g+f g x)} \left (F^{e g+f g x}\right )^{3 n} g^2 n^2 \log ^2(F)\right ) \int \frac {F^{3 n (e g+f g x)}}{c+d x} \, dx}{2 d^2}\\ &=-\frac {a^3}{2 d (c+d x)^2}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{2 d (c+d x)^2}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{2 d (c+d x)^2}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{2 d (c+d x)^2}-\frac {3 a^2 b f \left (F^{e g+f g x}\right )^n g n \log (F)}{2 d^2 (c+d x)}-\frac {3 a b^2 f \left (F^{e g+f g x}\right )^{2 n} g n \log (F)}{d^2 (c+d x)}-\frac {3 b^3 f \left (F^{e g+f g x}\right )^{3 n} g n \log (F)}{2 d^2 (c+d x)}+\frac {3 a^2 b f^2 F^{\left (e-\frac {c f}{d}\right ) g n-g n (e+f x)} \left (F^{e g+f g x}\right )^n g^2 n^2 \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right ) \log ^2(F)}{2 d^3}+\frac {6 a b^2 f^2 F^{2 \left (e-\frac {c f}{d}\right ) g n-2 g n (e+f x)} \left (F^{e g+f g x}\right )^{2 n} g^2 n^2 \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right ) \log ^2(F)}{d^3}+\frac {9 b^3 f^2 F^{3 \left (e-\frac {c f}{d}\right ) g n-3 g n (e+f x)} \left (F^{e g+f g x}\right )^{3 n} g^2 n^2 \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right ) \log ^2(F)}{2 d^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.72, size = 325, normalized size = 0.73 \begin {gather*} -\frac {a^3 d^2-3 a^2 b f^2 F^{-\frac {f g n (c+d x)}{d}} \left (F^{g (e+f x)}\right )^n g^2 n^2 (c+d x)^2 \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right ) \log ^2(F)-12 a b^2 f^2 F^{-\frac {2 f g n (c+d x)}{d}} \left (F^{g (e+f x)}\right )^{2 n} g^2 n^2 (c+d x)^2 \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right ) \log ^2(F)-9 b^3 f^2 F^{-\frac {3 f g n (c+d x)}{d}} \left (F^{g (e+f x)}\right )^{3 n} g^2 n^2 (c+d x)^2 \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right ) \log ^2(F)+3 a^2 b d \left (F^{g (e+f x)}\right )^n (d+f g n (c+d x) \log (F))+3 a b^2 d \left (F^{g (e+f x)}\right )^{2 n} (d+2 f g n (c+d x) \log (F))+b^3 d \left (F^{g (e+f x)}\right )^{3 n} (d+3 f g n (c+d x) \log (F))}{2 d^3 (c+d x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \left (F^{g \left (f x +e \right )}\right )^{n}\right )^{3}}{\left (d x +c \right )^{3}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.45, size = 493, normalized size = 1.10 \begin {gather*} -\frac {a^{3} d^{2} - \frac {9 \, {\left (b^{3} d^{2} f^{2} g^{2} n^{2} x^{2} + 2 \, b^{3} c d f^{2} g^{2} n^{2} x + b^{3} c^{2} f^{2} g^{2} n^{2}\right )} {\rm Ei}\left (\frac {3 \, {\left (d f g n x + c f g n\right )} \log \left (F\right )}{d}\right ) \log \left (F\right )^{2}}{F^{\frac {3 \, {\left (c f g n - d g n e\right )}}{d}}} - \frac {12 \, {\left (a b^{2} d^{2} f^{2} g^{2} n^{2} x^{2} + 2 \, a b^{2} c d f^{2} g^{2} n^{2} x + a b^{2} c^{2} f^{2} g^{2} n^{2}\right )} {\rm Ei}\left (\frac {2 \, {\left (d f g n x + c f g n\right )} \log \left (F\right )}{d}\right ) \log \left (F\right )^{2}}{F^{\frac {2 \, {\left (c f g n - d g n e\right )}}{d}}} - \frac {3 \, {\left (a^{2} b d^{2} f^{2} g^{2} n^{2} x^{2} + 2 \, a^{2} b c d f^{2} g^{2} n^{2} x + a^{2} b c^{2} f^{2} g^{2} n^{2}\right )} {\rm Ei}\left (\frac {{\left (d f g n x + c f g n\right )} \log \left (F\right )}{d}\right ) \log \left (F\right )^{2}}{F^{\frac {c f g n - d g n e}{d}}} + {\left (b^{3} d^{2} + 3 \, {\left (b^{3} d^{2} f g n x + b^{3} c d f g n\right )} \log \left (F\right )\right )} F^{3 \, f g n x + 3 \, g n e} + 3 \, {\left (a b^{2} d^{2} + 2 \, {\left (a b^{2} d^{2} f g n x + a b^{2} c d f g n\right )} \log \left (F\right )\right )} F^{2 \, f g n x + 2 \, g n e} + 3 \, {\left (a^{2} b d^{2} + {\left (a^{2} b d^{2} f g n x + a^{2} b c d f g n\right )} \log \left (F\right )\right )} F^{f g n x + g n e}}{2 \, {\left (d^{5} x^{2} + 2 \, c d^{4} x + c^{2} d^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \left (F^{e g} F^{f g x}\right )^{n}\right )^{3}}{\left (c + d x\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,{\left (F^{g\,\left (e+f\,x\right )}\right )}^n\right )}^3}{{\left (c+d\,x\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________